package com.oracle.service;

import com.oracle.pojo.Commodity;
import com.oracle.pojo.Image;

import java.util.List;

public interface CommodityService {

    public int saveComm(Commodity commodity);

    public int saveImage(Integer id,String url);

    public int update(Commodity commodity);

    public Commodity findCommodityById(Integer id);

    public List<Commodity> queryByCid(Integer id);

    public List<Image> findImageByCid(int cid);
}
